import { BasicFetchResult } from '../model/baseModel';
import { defHttp } from '@/utils/http/axios';
const api = '/flowUser';
/**
 * 查询流程节点用户配置不分页
 * @author frank
 * @date 2023-10-18 09:57:32
 */
export const list = (params?: any) =>
  defHttp.get<BasicFetchResult<any>>({ url: api + '/list', params });
/**
 * 添加流程节点用户配置
 * @author frank
 * @date 2023-10-18 09:57:32
 */
export const add = (params?: any) =>
  defHttp.post({ url: api + '/add', params });
/**
 * 修改流程节点用户配置
 * @author frank
 * @date 2023-10-18 09:57:32
 */
export const edit = (params?: any) =>
  defHttp.post({ url: api + '/edit', params });

/**
 * 删除流程节点用户配置
 * @author frank
 * @date 2023-10-18 09:57:32
 */
export const del = (ids: string[]) =>
  defHttp.post({ url: api + '/delete', params: ids });
